Commit 1d0be0c4 authored by Adrien Oliva's avatar Adrien Oliva

fix(lint) Fix various android issue

Signed-off-by: Adrien Oliva's avatarAdrien Oliva <olivaa+gitlab@yapbreak.fr>
parent 7bd2b50c
Pipeline #550 passed with stage
in 0 seconds
......@@ -157,7 +157,7 @@ public class QuestList extends AppCompatActivity
SharedPreferences.Editor editor = sharedPreferences.edit();
editor.putInt(activeCharacter, selected_character);
editor.commit();
editor.apply();
updateCharacterInfo();
}
......
......@@ -13,6 +13,7 @@
android:contentDescription="@string/character_avatar_alt"
android:minWidth="50dip"
android:src="@mipmap/ic_default_avatar"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="@id/character_race_label"/>
......@@ -23,6 +24,7 @@
android:text="@string/character_name_default"
android:textSize="24sp"
android:textStyle="bold"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintLeft_toRightOf="@id/character_avatar"
/>
......
......@@ -16,7 +16,8 @@
android:padding="20dp"
android:src="@mipmap/ic_default_avatar"
android:contentDescription="@string/avatar_description"
app:layout_constraintBottom_toBottomOf="@id/sp_race"/>
app:layout_constraintBottom_toBottomOf="@id/sp_race"
app:layout_constraintLeft_toLeftOf="parent" />
<EditText
android:id="@+id/et_name"
......@@ -52,7 +53,8 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/minus"
app:layout_constraintTop_toBottomOf="@id/tv_level_label" />
app:layout_constraintTop_toBottomOf="@id/tv_level_label"
app:layout_constraintLeft_toLeftOf="parent" />
<EditText
android:id="@+id/et_level"
......
......@@ -13,6 +13,7 @@
android:contentDescription="@string/quest_img_alt"
android:minWidth="50dip"
android:src="@drawable/ic_success"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="@id/quest_summary"/>
......@@ -23,6 +24,7 @@
android:text="@string/quest_title_default"
android:textSize="24sp"
android:textStyle="bold"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintLeft_toRightOf="@id/quest_img" />
<TextView
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment