|
@@ -4,9 +4,9 @@
|
|
android:layout_height="wrap_content">
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
- android:orientation="vertical"
|
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
|
+ android:orientation="vertical"
|
|
android:padding="@dimen/activity_horizontal_margin"
|
|
android:padding="@dimen/activity_horizontal_margin"
|
|
tools:context=".MainActivity">
|
|
tools:context=".MainActivity">
|
|
|
|
|
|
@@ -20,169 +20,176 @@
|
|
android:id="@+id/basic"
|
|
android:id="@+id/basic"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:layout_height="56dp"
|
|
- android:text="@string/basic"
|
|
|
|
- android:layout_marginTop="@dimen/sample_button_spacing" />
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/sample_button_spacing"
|
|
|
|
+ android:text="@string/basic" />
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/basicLongContent"
|
|
android:id="@+id/basicLongContent"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:layout_height="56dp"
|
|
- android:text="@string/basic_longContent"
|
|
|
|
- android:layout_marginTop="@dimen/sample_button_spacing" />
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/sample_button_spacing"
|
|
|
|
+ android:text="@string/basic_longContent" />
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/basicIcon"
|
|
android:id="@+id/basicIcon"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:layout_height="56dp"
|
|
- android:text="@string/basic_icon"
|
|
|
|
- android:layout_marginTop="@dimen/sample_button_spacing" />
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/sample_button_spacing"
|
|
|
|
+ android:text="@string/basic_icon" />
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/stacked"
|
|
android:id="@+id/stacked"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:layout_height="56dp"
|
|
- android:text="@string/stacked"
|
|
|
|
- android:layout_marginTop="@dimen/sample_button_spacing" />
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/sample_button_spacing"
|
|
|
|
+ android:text="@string/stacked" />
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/neutral"
|
|
android:id="@+id/neutral"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:layout_height="56dp"
|
|
- android:text="@string/neutral"
|
|
|
|
- android:layout_marginTop="@dimen/sample_button_spacing" />
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/sample_button_spacing"
|
|
|
|
+ android:text="@string/neutral" />
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/callbacks"
|
|
android:id="@+id/callbacks"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:layout_height="56dp"
|
|
- android:text="@string/callbacks"
|
|
|
|
- android:layout_marginTop="@dimen/sample_button_spacing" />
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/sample_button_spacing"
|
|
|
|
+ android:text="@string/callbacks" />
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/list"
|
|
android:id="@+id/list"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:layout_height="56dp"
|
|
- android:text="@string/list"
|
|
|
|
- android:layout_marginTop="@dimen/sample_button_spacing" />
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/sample_button_spacing"
|
|
|
|
+ android:text="@string/list" />
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/longList"
|
|
android:id="@+id/longList"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:layout_height="56dp"
|
|
- android:text="@string/basic_list_long"
|
|
|
|
- android:layout_marginTop="@dimen/sample_button_spacing" />
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/sample_button_spacing"
|
|
|
|
+ android:text="@string/basic_list_long" />
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/listNoTitle"
|
|
android:id="@+id/listNoTitle"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:layout_height="56dp"
|
|
- android:text="@string/basic_list_notitle"
|
|
|
|
- android:layout_marginTop="@dimen/sample_button_spacing" />
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/sample_button_spacing"
|
|
|
|
+ android:text="@string/basic_list_notitle" />
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/singleChoice"
|
|
android:id="@+id/singleChoice"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:layout_height="56dp"
|
|
- android:text="@string/singleChoice"
|
|
|
|
- android:layout_marginTop="@dimen/sample_button_spacing" />
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/sample_button_spacing"
|
|
|
|
+ android:text="@string/singleChoice" />
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/multiChoice"
|
|
android:id="@+id/multiChoice"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:layout_height="56dp"
|
|
- android:text="@string/multiChoice"
|
|
|
|
- android:layout_marginTop="@dimen/sample_button_spacing" />
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/sample_button_spacing"
|
|
|
|
+ android:text="@string/multiChoice" />
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/multiChoiceLimited"
|
|
android:id="@+id/multiChoiceLimited"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:layout_height="56dp"
|
|
- android:text="@string/multiChoiceLimited"
|
|
|
|
- android:layout_marginTop="@dimen/sample_button_spacing" />
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/sample_button_spacing"
|
|
|
|
+ android:text="@string/multiChoiceLimited" />
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/simpleList"
|
|
android:id="@+id/simpleList"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:layout_height="56dp"
|
|
- android:text="@string/simple_list"
|
|
|
|
- android:layout_marginTop="@dimen/sample_button_spacing" />
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/sample_button_spacing"
|
|
|
|
+ android:text="@string/simple_list" />
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/customListItems"
|
|
android:id="@+id/customListItems"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:layout_height="56dp"
|
|
- android:text="@string/custom_adapter"
|
|
|
|
- android:layout_marginTop="@dimen/sample_button_spacing" />
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/sample_button_spacing"
|
|
|
|
+ android:text="@string/custom_adapter" />
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/customView"
|
|
android:id="@+id/customView"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:layout_height="56dp"
|
|
- android:text="@string/customView"
|
|
|
|
- android:layout_marginTop="@dimen/sample_button_spacing" />
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/sample_button_spacing"
|
|
|
|
+ android:text="@string/customView" />
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/customView_webView"
|
|
android:id="@+id/customView_webView"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:layout_height="56dp"
|
|
- android:text="@string/customView_webView"
|
|
|
|
- android:layout_marginTop="@dimen/sample_button_spacing" />
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/sample_button_spacing"
|
|
|
|
+ android:text="@string/customView_webView" />
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/customView_colorChooser"
|
|
android:id="@+id/customView_colorChooser"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:layout_height="56dp"
|
|
- android:text="@string/customView_colorChooser"
|
|
|
|
- android:layout_marginTop="@dimen/sample_button_spacing" />
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/sample_button_spacing"
|
|
|
|
+ android:text="@string/customView_colorChooser" />
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/themed"
|
|
android:id="@+id/themed"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:layout_height="56dp"
|
|
- android:text="@string/themed"
|
|
|
|
- android:layout_marginTop="@dimen/sample_button_spacing" />
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/sample_button_spacing"
|
|
|
|
+ android:text="@string/themed" />
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/showCancelDismiss"
|
|
android:id="@+id/showCancelDismiss"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:layout_height="56dp"
|
|
- android:text="@string/showCancelDismissCallbacks"
|
|
|
|
- android:layout_marginTop="@dimen/sample_button_spacing" />
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/sample_button_spacing"
|
|
|
|
+ android:text="@string/showCancelDismissCallbacks" />
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/folder_chooser"
|
|
android:id="@+id/folder_chooser"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:layout_height="56dp"
|
|
- android:text="@string/folder_chooser"
|
|
|
|
- android:layout_marginTop="@dimen/sample_button_spacing" />
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/sample_button_spacing"
|
|
|
|
+ android:text="@string/folder_chooser" />
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/input"
|
|
android:id="@+id/input"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:layout_height="56dp"
|
|
- android:text="@string/input"
|
|
|
|
- android:layout_marginTop="@dimen/sample_button_spacing" />
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/sample_button_spacing"
|
|
|
|
+ android:text="@string/input" />
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/progress1"
|
|
android:id="@+id/progress1"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:layout_height="56dp"
|
|
- android:text="@string/progress_dialog"
|
|
|
|
- android:layout_marginTop="@dimen/sample_button_spacing" />
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/sample_button_spacing"
|
|
|
|
+ android:text="@string/progress_dialog" />
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/progress2"
|
|
android:id="@+id/progress2"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:layout_height="56dp"
|
|
- android:text="@string/progress_dialog_indeterminate"
|
|
|
|
- android:layout_marginTop="@dimen/sample_button_spacing" />
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/sample_button_spacing"
|
|
|
|
+ android:text="@string/progress_dialog_indeterminate" />
|
|
|
|
+
|
|
|
|
+ <Button
|
|
|
|
+ android:id="@+id/progress3"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="56dp"
|
|
|
|
+ android:layout_marginTop="@dimen/sample_button_spacing"
|
|
|
|
+ android:text="@string/progress_dialog_indeterminate_horizontal" />
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/preference_dialogs"
|
|
android:id="@+id/preference_dialogs"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:layout_height="56dp"
|
|
- android:text="@string/preference_dialogs"
|
|
|
|
- android:layout_marginTop="@dimen/sample_button_spacing" />
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/sample_button_spacing"
|
|
|
|
+ android:text="@string/preference_dialogs" />
|
|
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|