mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-20 04:39:04 +00:00
fix xml warnings
This commit is contained in:
parent
b3ec9a81a1
commit
d016d2b03a
10 changed files with 41 additions and 23 deletions
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
|
@ -35,7 +35,8 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:src="@drawable/death_ghost" />
|
||||
android:src="@drawable/death_ghost"
|
||||
android:importantForAccessibility="no" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/heart_view"
|
||||
|
|
@ -43,7 +44,8 @@
|
|||
android:layout_height="110dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:src="@drawable/ic_broken_heart" />
|
||||
android:src="@drawable/ic_broken_heart"
|
||||
android:importantForAccessibility="no" />
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
android:layout_height="match_parent"
|
||||
android:paddingTop="4dp"
|
||||
android:paddingBottom="4dp"
|
||||
android:gravity="center_vertical|right">
|
||||
android:gravity="center_vertical|end">
|
||||
<ImageView
|
||||
android:id="@+id/classIconView"
|
||||
android:layout_width="32dp"
|
||||
|
|
@ -15,4 +15,4 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="16sp"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
|
|
|||
|
|
@ -9,10 +9,11 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="12dp"
|
||||
android:scaleType="center" />
|
||||
android:scaleType="center"
|
||||
android:importantForAccessibility="no" />
|
||||
<TextView
|
||||
android:id="@+id/textView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_horizontal"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
|
|
|||
|
|
@ -24,7 +24,8 @@
|
|||
android:layout_height="3dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_margin="@dimen/spacing_large"
|
||||
android:src="@color/offset_background" />
|
||||
android:src="@color/offset_background"
|
||||
android:importantForAccessibility="no" />
|
||||
|
||||
<com.google.android.material.card.MaterialCardView
|
||||
android:id="@+id/subscriber_benefit_banner"
|
||||
|
|
@ -51,7 +52,8 @@
|
|||
android:layout_alignParentTop="true"
|
||||
android:layout_alignParentBottom="false"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@drawable/subscription_banner_image_left" />
|
||||
android:src="@drawable/subscription_banner_image_left"
|
||||
android:importantForAccessibility="no" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/banner_right_image"
|
||||
|
|
@ -60,7 +62,8 @@
|
|||
android:layout_alignParentTop="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@drawable/subscription_banner_image_right" />
|
||||
android:src="@drawable/subscription_banner_image_right"
|
||||
android:importantForAccessibility="no" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
|
|
@ -83,7 +86,8 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:text="SUBSCRIBER BENEFIT"
|
||||
android:text="@string/subscriber_benefit"
|
||||
android:textAllCaps="true"
|
||||
android:textColor="@color/white" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
|
@ -116,7 +120,8 @@
|
|||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:src="@drawable/separator_fancy" />
|
||||
android:src="@drawable/separator_fancy"
|
||||
android:importantForAccessibility="no" />
|
||||
|
||||
|
||||
<com.habitrpg.android.habitica.ui.views.subscriptions.SubscriberBenefitView
|
||||
|
|
@ -130,7 +135,8 @@
|
|||
android:layout_gravity="center"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_marginBottom="12dp"
|
||||
android:src="@drawable/separator_fancy" />
|
||||
android:src="@drawable/separator_fancy"
|
||||
android:importantForAccessibility="no" />
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/loadingIndicator"
|
||||
|
|
|
|||
|
|
@ -72,7 +72,8 @@
|
|||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:paddingStart="@dimen/spacing_medium">
|
||||
android:paddingStart="@dimen/spacing_medium"
|
||||
android:paddingEnd="0dp">
|
||||
<TextView
|
||||
android:id="@+id/quest_title_view"
|
||||
android:layout_width="match_parent"
|
||||
|
|
@ -92,7 +93,8 @@
|
|||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:srcCompat="@drawable/ic_keyboard_arrow_right_gray_24dp"/>
|
||||
app:srcCompat="@drawable/ic_keyboard_arrow_right_gray_24dp"
|
||||
android:importantForAccessibility="no" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:visibility="gone"
|
||||
|
|
|
|||
|
|
@ -25,14 +25,16 @@
|
|||
android:scaleType="center"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_alignParentBottom="false"/>
|
||||
android:layout_alignParentBottom="false"
|
||||
android:importantForAccessibility="no" />
|
||||
<ImageView
|
||||
android:id="@+id/promo_banner_right_image"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:scaleType="center"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_alignParentEnd="true"/>
|
||||
android:layout_alignParentEnd="true"
|
||||
android:importantForAccessibility="no" />
|
||||
<LinearLayout
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_width="wrap_content"
|
||||
|
|
@ -135,4 +137,4 @@
|
|||
tools:text="This is some text"
|
||||
android:lineSpacingExtra="3dp"/>
|
||||
</LinearLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,8 @@
|
|||
android:layout_height="3dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_margin="@dimen/spacing_large"
|
||||
android:src="@color/offset_background" />
|
||||
android:src="@color/offset_background"
|
||||
android:importantForAccessibility="no" />
|
||||
|
||||
|
||||
<com.google.android.material.appbar.AppBarLayout
|
||||
|
|
@ -172,4 +173,4 @@
|
|||
</LinearLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
</LinearLayout>
|
||||
</com.google.android.material.card.MaterialCardView>
|
||||
</com.google.android.material.card.MaterialCardView>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,8 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/creator_hills_bg"
|
||||
android:layout_centerInParent="true" />
|
||||
android:layout_centerInParent="true"
|
||||
android:importantForAccessibility="no" />
|
||||
<com.habitrpg.common.habitica.views.AvatarView
|
||||
android:id="@+id/avatarView"
|
||||
android:layout_width="@dimen/avatar_small_width"
|
||||
|
|
@ -56,4 +57,4 @@
|
|||
android:layout_height="wrap_content"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
|
|
|||
|
|
@ -47,12 +47,14 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="24dp"
|
||||
android:src="@drawable/flag_flap"
|
||||
android:layout_gravity="center_vertical" />
|
||||
android:layout_gravity="center_vertical"
|
||||
android:importantForAccessibility="no" />
|
||||
<TextView
|
||||
android:id="@+id/flag_textview"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="24dp"
|
||||
android:paddingEnd="@dimen/spacing_medium"
|
||||
android:paddingStart="0dp"
|
||||
android:background="@color/green_50"
|
||||
android:textColor="@color/white"
|
||||
style="@style/Caption2"
|
||||
|
|
|
|||
|
|
@ -1467,6 +1467,7 @@
|
|||
<string name="revive_broken_equipment">Your %s broke</string>
|
||||
<string name="subscribe_gems_for_gold_incentive_text">Subscribe to buy Gems with Gold and receive these other exclusive benefits!</string>
|
||||
<string name="subscribe_hourglass_incentive_text">Subscribers get Mystic Hourglasses to buy items in the Time Travelers Shop and these other exclusive benefits!</string>
|
||||
<string name="subscriber_benefit">SUBSCRIBER BENEFIT</string>
|
||||
|
||||
|
||||
<plurals name="you_x_others">
|
||||
|
|
|
|||
Loading…
Reference in a new issue