diff options
author | l <l.@loddas-MBP.fritz.box> | 2018-05-12 00:21:37 +0200 |
---|---|---|
committer | l <l.@loddas-MBP.fritz.box> | 2018-05-12 00:21:37 +0200 |
commit | 20cde35143f5e9f2808e361ebb674c3bb26feafe (patch) | |
tree | 052076916acd38010a891fd6ac252c7c21bc20e1 /app/src/main/res/layout | |
parent | 5297bcdd7813f9471f2631b7dee0c21a35c9351a (diff) |
added NewProviderActivity basics
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/a_add_provider.xml | 47 | ||||
-rw-r--r-- | app/src/main/res/layout/v_add_provider.xml | 41 |
2 files changed, 88 insertions, 0 deletions
diff --git a/app/src/main/res/layout/a_add_provider.xml b/app/src/main/res/layout/a_add_provider.xml new file mode 100644 index 00000000..14bf8482 --- /dev/null +++ b/app/src/main/res/layout/a_add_provider.xml @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent" + tools:context=".AddProviderActivity" + android:padding="@dimen/stdpadding" + style="@style/BitmaskActivity"> + + <!--Contains header information!??? --> + <include layout="@layout/v_add_provider" /> + + <LinearLayout + android:id="@+id/content" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical"> + + <!-- the header contains the mask--> + <include layout="@layout/v_provider_header" /> + + <EditText + android:id="@+id/textUri" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:hint="@string/new_provider_uri" + android:inputType="text" + android:padding="@dimen/stdpadding"/> + <!-- android:imeOptions="actionSend" => was passieren soll, wenn ok geklickt wird --> + + + <Button + android:id="@+id/button_save" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:text="@string/save" /> + + <Button + android:id="@+id/button_cancel" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:text="@string/cancel" /> + + </LinearLayout> + +</RelativeLayout> diff --git a/app/src/main/res/layout/v_add_provider.xml b/app/src/main/res/layout/v_add_provider.xml new file mode 100644 index 00000000..44146fb5 --- /dev/null +++ b/app/src/main/res/layout/v_add_provider.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + android:id="@+id/loading_screen" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" + android:visibility="gone"> + + <android.support.v7.widget.AppCompatImageView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:adjustViewBounds="true" + app:tint="@color/colorPrimary" + app:srcCompat="@drawable/action_history" + android:layout_marginTop="@dimen/loading_screen_icon_vertical_margin" + android:layout_marginBottom="@dimen/loading_screen_icon_vertical_margin" + /> + + <android.support.v7.widget.AppCompatTextView + android:id="@+id/progressbar_description" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:fadingEdge="horizontal" + android:singleLine="true" + android:text="@string/introduce_new_provider" + android:textAppearance="@style/Base.TextAppearance.AppCompat.Medium" + android:layout_marginTop="@dimen/standard_margin" + android:layout_marginBottom="@dimen/standard_margin" + /> + + <ProgressBar + android:id="@+id/progressbar" + style="@style/Widget.AppCompat.ProgressBar.Horizontal" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:indeterminate="true" + android:layout_marginTop="@dimen/standard_margin" + /> + +</LinearLayout>
\ No newline at end of file |