Update browseable samples for lmp-docs
Synced to commit df5e5013422b81b4fd05c0ac9fd964b13624847a. Includes new samples for Android Auto. Change-Id: I3fec46e2a6b3f196682a92f1afd91eb682dc2dc1
This commit is contained in:
@@ -14,19 +14,37 @@
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
style="@style/Widget.SampleDashboard.Item"
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
android:layout_height="wrap_content">
|
||||
<!-- The CardView needs to be wrapped to ensure spacing is applied correctly. -->
|
||||
|
||||
<TextView android:id="@android:id/text1"
|
||||
style="@style/Widget.SampleDashboard.Item.Title"
|
||||
<android.support.v7.widget.CardView
|
||||
style="@style/Widget.SampleDashboard.Card"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView android:id="@android:id/text2"
|
||||
style="@style/Widget.SampleDashboard.Item.Description"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
style="@style/Widget.SampleDashboard.Item"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@android:id/text1"
|
||||
style="@style/Widget.SampleDashboard.Item.Title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Hello world" />
|
||||
|
||||
<TextView
|
||||
android:id="@android:id/text2"
|
||||
style="@style/Widget.SampleDashboard.Item.Description"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</android.support.v7.widget.CardView>
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
Reference in New Issue
Block a user