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:
Daniel Gomez Rico 2017-10-07 11:55:13 -05:00 committed by Phillip Thelen
parent 00ffd7847e
commit f36fbcaf01
9 changed files with 20 additions and 19 deletions

View file

@ -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"

View file

@ -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

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"/>

View file

@ -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"

View file

@ -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"

View file

@ -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"