Simple improvements to sample app layouts

This commit is contained in:
Severiano Jaramillo 2018-11-08 10:44:47 -06:00
parent dee17a12be
commit 94511daea9
4 changed files with 6 additions and 17 deletions

View file

@ -4,6 +4,6 @@
android:id="@+id/call_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".CallsActivity">
</android.support.v7.widget.RecyclerView>
tools:context=".CallsActivity"
tools:listitem="@layout/item_call"
tools:itemCount="5"/>

View file

@ -11,8 +11,6 @@
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_marginEnd="8dp"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
app:layout_constraintBottom_toTopOf="@+id/container_param1"
@ -32,8 +30,6 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:layout_marginStart="8dp"
app:layout_constraintBottom_toTopOf="@+id/container_param2"
app:layout_constraintEnd_toEndOf="parent"
@ -51,8 +47,6 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:layout_marginStart="8dp"
app:layout_constraintBottom_toTopOf="@+id/container_param3"
app:layout_constraintEnd_toEndOf="parent"
@ -69,8 +63,6 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:layout_marginStart="8dp"
app:layout_constraintBottom_toTopOf="@+id/container_param4"
app:layout_constraintEnd_toEndOf="parent"
@ -87,8 +79,6 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:layout_marginStart="8dp"
app:layout_constraintBottom_toTopOf="@+id/button_send"
app:layout_constraintEnd_toEndOf="parent"
@ -106,8 +96,6 @@
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_marginEnd="8dp"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:layout_marginStart="8dp"
android:text="@string/action_send"
app:layout_constraintBottom_toBottomOf="parent"

View file

@ -25,14 +25,14 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textSize="11sp"
android:textSize="12sp"
android:text="Subscribe"/>
<Button
android:id="@+id/unsubscribe"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textSize="11sp"
android:textSize="12sp"
android:text="Unsubscribe"/>
</LinearLayout>
</android.support.constraint.ConstraintLayout>

View file

@ -9,5 +9,6 @@
android:padding="16dp"
android:background="?attr/selectableItemBackground"
android:clickable="true"
android:focusable="true"
tools:text="Sample">
</TextView>