user interface - Need sample AXML for Android Card content blocks -


android has list of ux/ui samples here , i'm looking example axaml layouts match ux/ui illustrations.

does such layout library exist? prefer copy , paste ui code, since isn't expertise.

i not know of direct 1 one library google's design spec platforms google runs vs. actual implementation on specific device/browser (android being one).

you tagged question xamarin, asked axaml(?)/axml. if looking axml examples of android cards (vs. tamarin's form xaml), load android studio , browse github based googlesamples. use github directly, have axml gui designer can edit cards visually (and in text mode) , copy axml on xamarin load gui of android app via resource.

starting cardview sample best bet:

<?xml version="1.0" encoding="utf-8"?> <!--  copyright 2014 android open source project  licensed under apache license, version 2.0 (the "license");  may not use file except in compliance license.  may obtain copy of license @      http://www.apache.org/licenses/license-2.0  unless required applicable law or agreed in writing, software  distributed under license distributed on "as is" basis,  without warranties or conditions of kind, either express or implied.  see license specific language governing permissions ,  limitations under license. --> <scrollview     xmlns:android="http://schemas.android.com/apk/res/android"     xmlns:card_view="http://schemas.android.com/apk/res-auto"     android:layout_height="match_parent"     android:layout_width="match_parent"     >      <linearlayout android:layout_width="match_parent"                   android:layout_height="match_parent"                   android:orientation="vertical"                   android:paddingbottom="@dimen/activity_vertical_margin"                   android:paddingtop="@dimen/activity_vertical_margin"                   android:paddingleft="@dimen/activity_horizontal_margin"                   android:paddingright="@dimen/activity_horizontal_margin"         >         <android.support.v7.widget.cardview             android:id="@+id/cardview"             android:layout_width="fill_parent"             android:layout_height="wrap_content"             android:elevation="100dp"             card_view:cardbackgroundcolor="@color/cardview_initial_background"             card_view:cardcornerradius="8dp"             android:layout_marginleft="@dimen/margin_large"             android:layout_marginright="@dimen/margin_large"             >              <textview                 android:layout_width="wrap_content"                 android:layout_height="wrap_content"                 android:layout_margin="@dimen/margin_medium"                 android:text="@string/cardview_contents"                 />         </android.support.v7.widget.cardview>          <linearlayout             android:layout_width="fill_parent"             android:layout_height="wrap_content"             android:layout_margintop="@dimen/margin_large"             android:orientation="horizontal"             >             <textview                 android:layout_width="@dimen/seekbar_label_length"                 android:layout_height="wrap_content"                 android:layout_gravity="center_vertical"                 android:text="@string/cardview_radius_seekbar_text"                 />             <seekbar                 android:id="@+id/cardview_radius_seekbar"                 android:layout_width="fill_parent"                 android:layout_height="wrap_content"                 android:layout_margin="@dimen/margin_medium"                 />         </linearlayout>          <linearlayout             android:layout_width="fill_parent"             android:layout_height="wrap_content"             android:orientation="horizontal"             >             <textview                 android:layout_width="@dimen/seekbar_label_length"                 android:layout_height="wrap_content"                 android:layout_gravity="center_vertical"                 android:text="@string/cardview_elevation_seekbar_text"                 />             <seekbar                 android:id="@+id/cardview_elevation_seekbar"                 android:layout_width="fill_parent"                 android:layout_height="wrap_content"                 android:layout_margin="@dimen/margin_medium"                 />         </linearlayout>     </linearlayout> </scrollview> 

Comments

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -