add: tab "Samples"

This commit is contained in:
hyb1996
2017-10-28 19:01:15 +08:00
parent 3923daeaf8
commit 56c0ad3415
21 changed files with 544 additions and 164 deletions

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.stardust.scriptdroid.ui.main.sample.SampleListView
android:id="@+id/sample_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
</FrameLayout>

View File

@@ -5,12 +5,12 @@
android:id="@+id/item"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="2dp"
android:layout_marginRight="2dp"
android:layout_marginLeft="3dp"
android:layout_marginRight="3dp"
android:clickable="true"
android:foreground="?selectableItemBackground"
app:cardBackgroundColor="#ffffff"
app:cardElevation="1dp"
app:cardElevation="0.5dp"
app:cardUseCompatPadding="true">
<LinearLayout