April 2015
Beginner to intermediate
494 pages
10h 26m
English
Let's create a Java Graphical User Interface for our Store and bind it to the native store structure that we will create:
res/fragment_layout.xml layout to define the graphical interface as follows. It defines:TextView label and EditText to enter the keyTextView label and EditText to enter the value matching the keyTextView label and Spinner to define the type of the valueButton to retrieve and change a value in the store<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" a:layout_width="match_parent" a:layout_height="match_parent" a:orientation="vertical" tools:context="com.packtpub.store.StoreActivity$PlaceholderFragment"> ...