Adds actions to monster cards.
This commit is contained in:
@@ -437,5 +437,48 @@
|
||||
app:layout_constraintTop_toBottomOf="@+id/challenge"
|
||||
tools:text="Damage Vulnerabilities" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/label_actions"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="8dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:layout_marginBottom="8dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/abilities"
|
||||
android:text="@string/actions_label" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/divider4"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="8dp"
|
||||
android:layout_marginStart="8dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:contentDescription="@string/section_divider"
|
||||
android:scaleType="fitXY"
|
||||
android:src="@drawable/ic_section_divider"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/label_actions" />
|
||||
|
||||
<!-- Actions -->
|
||||
<LinearLayout
|
||||
android:id="@+id/actions"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="8dp"
|
||||
android:layout_marginTop="0dp"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:layout_marginBottom="0dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/divider4"
|
||||
tools:text="Damage Vulnerabilities" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</ScrollView>
|
||||
@@ -1,16 +1,17 @@
|
||||
<resources>
|
||||
<string name="app_name">MonsterCards</string>
|
||||
<string name="title_dashboard">Dashboard</string>
|
||||
<string name="title_search">Search</string>
|
||||
<string name="title_collections">Collections</string>
|
||||
<string name="title_library">Library</string>
|
||||
<string name="action_search">Search</string>
|
||||
<string name="actions_label">Actions</string>
|
||||
<string name="app_name">MonsterCards</string>
|
||||
<string name="charisma_abbreviation">CHA</string>
|
||||
<string name="constitution_abbreviation">CON</string>
|
||||
<string name="dexterity_abbreviation">DEX</string>
|
||||
<string name="intelligence_abbreviation">INT</string>
|
||||
<string name="label_search_query">Query</string>
|
||||
<string name="section_divider">section divider</string>
|
||||
<string name="strength_abbreviation">STR</string>
|
||||
<string name="dexterity_abbreviation">DEX</string>
|
||||
<string name="constitution_abbreviation">CON</string>
|
||||
<string name="intelligence_abbreviation">INT</string>
|
||||
<string name="title_collections">Collections</string>
|
||||
<string name="title_dashboard">Dashboard</string>
|
||||
<string name="title_library">Library</string>
|
||||
<string name="title_search">Search</string>
|
||||
<string name="wisdom_abbreviation">WIS</string>
|
||||
<string name="charisma_abbreviation">CHA</string>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user