Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- tools:context="com.example.android.helpmequit.MainActivity">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Daily Amount"
- android:textSize="24dp" />
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <Button
- android:layout_width="48dp"
- android:layout_height="48dp"
- android:onClick="decrement_daily"
- android:text="-" />
- <TextView
- android:id="@+id/daily_text"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="0"
- android:layout_marginLeft="16dp"
- android:layout_marginRight="16dp"
- android:textSize="24sp" />
- <Button
- android:layout_width="48dp"
- android:layout_height="48dp"
- android:onClick="increment_daily"
- android:text="+"/>
- </LinearLayout>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Daily Goal"
- android:textSize="24dp" />
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <Button
- android:layout_width="48dp"
- android:layout_height="48dp"
- android:onClick="decrement_goal"
- android:text="-" />
- <TextView
- android:id="@+id/goal_text"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="0"
- android:layout_marginLeft="16dp"
- android:layout_marginRight="16dp"
- android:textSize="24sp" />
- <Button
- android:layout_width="48dp"
- android:layout_height="48dp"
- android:onClick="increment_goal"
- android:text="+"/>
- </LinearLayout>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Days Before Next Lower"
- android:textSize="24dp" />
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <Button
- android:layout_width="48dp"
- android:layout_height="48dp"
- android:onClick="decrement_wean"
- android:text="-" />
- <TextView
- android:id="@+id/wean_text"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="0"
- android:layout_marginLeft="16dp"
- android:layout_marginRight="16dp"
- android:textSize="24sp" />
- <Button
- android:layout_width="48dp"
- android:layout_height="48dp"
- android:onClick="increment_wean"
- android:text="+"/>
- </LinearLayout>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement