mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-04-14 19:56:32 +00:00
Fix missing + on id definition for some layouts
If you have it without the + it can cause errors after modifing the layout orders, so it's better to define them with +
This commit is contained in:
parent
00ffd7847e
commit
f36fbcaf01
9 changed files with 20 additions and 19 deletions
|
|
@ -58,7 +58,7 @@
|
|||
android:labelFor="@+id/healthEditText"/>
|
||||
|
||||
<EditText
|
||||
android:id="@id/healthEditText"
|
||||
android:id="@+id/healthEditText"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
|
|
@ -78,7 +78,7 @@
|
|||
android:labelFor="@+id/experienceEditText" />
|
||||
|
||||
<EditText
|
||||
android:id="@id/experienceEditText"
|
||||
android:id="@+id/experienceEditText"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
|
|
@ -98,7 +98,7 @@
|
|||
android:labelFor="@+id/goldEditText"/>
|
||||
|
||||
<EditText
|
||||
android:id="@id/goldEditText"
|
||||
android:id="@+id/goldEditText"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
|
|
@ -118,7 +118,7 @@
|
|||
android:labelFor="@+id/manaEditText"/>
|
||||
|
||||
<EditText
|
||||
android:id="@id/manaEditText"
|
||||
android:id="@+id/manaEditText"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
|
|
@ -138,7 +138,7 @@
|
|||
android:labelFor="@+id/levelEditText"/>
|
||||
|
||||
<EditText
|
||||
android:id="@id/levelEditText"
|
||||
android:id="@+id/levelEditText"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
|
|
@ -167,7 +167,7 @@
|
|||
android:labelFor="@+id/streakEditText"/>
|
||||
|
||||
<EditText
|
||||
android:id="@id/streakEditText"
|
||||
android:id="@+id/streakEditText"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
|
|
|
|||
|
|
@ -58,7 +58,8 @@
|
|||
style="@style/Subheader3"
|
||||
android:textColor="#000"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_vertical"
|
||||
tools:text="Daily Title" />
|
||||
|
||||
<net.pherth.android.emoji_library.EmojiTextView
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
android:layout_width="@dimen/shopitem_image_size"
|
||||
android:layout_height="@dimen/shopitem_image_size" />
|
||||
<TextView
|
||||
android:id="@id/titleTextView"
|
||||
android:id="@+id/titleTextView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/Headline"
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
android:layout_marginTop="14dp"
|
||||
android:layout_marginBottom="4dp"/>
|
||||
<TextView
|
||||
android:id="@id/notesTextView"
|
||||
android:id="@+id/notesTextView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/Body2"
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
android:layout_width="@dimen/shopitem_image_size"
|
||||
android:layout_height="@dimen/shopitem_image_size" />
|
||||
<TextView
|
||||
android:id="@id/titleTextView"
|
||||
android:id="@+id/titleTextView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/Headline"
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
android:layout_marginTop="14dp"
|
||||
android:layout_marginBottom="4dp"/>
|
||||
<TextView
|
||||
android:id="@id/notesTextView"
|
||||
android:id="@+id/notesTextView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/Body2"
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
android:layout_width="@dimen/shopitem_image_size"
|
||||
android:layout_height="@dimen/shopitem_image_size" />
|
||||
<TextView
|
||||
android:id="@id/titleTextView"
|
||||
android:id="@+id/titleTextView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/Headline"
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
android:layout_marginTop="14dp"
|
||||
android:layout_marginBottom="4dp"/>
|
||||
<TextView
|
||||
android:id="@id/notesTextView"
|
||||
android:id="@+id/notesTextView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/Body2"
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@
|
|||
android:background="@color/gray_500"
|
||||
android:visibility="gone"/>
|
||||
<LinearLayout
|
||||
android:id="@id/checklistView"
|
||||
android:id="@+id/checklistView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"/>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
style="@style/RowWrapper"
|
||||
android:clickable="true">
|
||||
<com.facebook.drawee.view.SimpleDraweeView
|
||||
android:id="@id/imageView"
|
||||
android:id="@+id/imageView"
|
||||
android:layout_width="@dimen/gear_image_size"
|
||||
android:layout_height="@dimen/gear_image_size"
|
||||
bind:actualImageScaleType="fitCenter"
|
||||
|
|
@ -18,13 +18,13 @@
|
|||
android:orientation="vertical"
|
||||
android:layout_gravity="center_vertical">
|
||||
<TextView
|
||||
android:id="@id/titleTextView"
|
||||
android:id="@+id/titleTextView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
tools:text="Title"
|
||||
style="@style/RowTitle"/>
|
||||
<TextView
|
||||
android:id="@id/ownedTextView"
|
||||
android:id="@+id/ownedTextView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
tools:text="Value"
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@
|
|||
android:layout_height="22dp"
|
||||
android:paddingBottom="8dp"/>
|
||||
<TextView
|
||||
android:id="@id/priceLabel"
|
||||
android:id="@+id/priceLabel"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/yellow_10"
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
android:contentDescription="Bar Icon"
|
||||
android:visibility="gone"/>
|
||||
<LinearLayout
|
||||
android:id="@id/bar_full"
|
||||
android:id="@+id/bar_full"
|
||||
android:layout_toRightOf="@id/ic_header"
|
||||
android:layout_toEndOf="@id/ic_header"
|
||||
android:layout_width="match_parent"
|
||||
|
|
|
|||
Loading…
Reference in a new issue