project_files/Android-build/SDL-android-project/res/layout/activity_weaponsetlist.xml
author Wuzzy <Wuzzy2@mail.ru>
Wed, 14 Mar 2018 15:19:08 +0100
changeset 13197 0bc5f618ca7c
parent 7508 763d3961400b
permissions -rw-r--r--
Rename the misleadingly-named AmmoSchemeModel to GameSchemeModel AmmoSchemeModel was a misleading name, this class was actually used only for game schemes.

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical" >

    <TextView
        android:id="@android:id/empty"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:gravity="center"
        android:text="@string/weaponsetlist_empty" />

    <ListView
        android:id="@android:id/list"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="1"
        android:cacheColorHint="@android:color/transparent" />

    <Button
        android:id="@+id/addButton"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@drawable/button"
        android:text="@string/weaponsetlist_add_button_text" />

</LinearLayout>