Skip to content

Commit

Permalink
#411: message for no active plan (#412)
Browse files Browse the repository at this point in the history
* #411: Message for no active plan

* #411: Message for no active plan

* #411: Message for no active plan
  • Loading branch information
SuperJarek authored and JanBan committed Nov 17, 2019
1 parent c93bd5e commit 02e13c6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
26 changes: 14 additions & 12 deletions Friendly-plans/app/src/main/res/layout/child_app_activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,20 @@

<ScrollView
android:id="@+id/ScrollView01"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:fillViewport="true">
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:clipToPadding="false"
android:fillViewport="true"
android:paddingTop="250dp">

<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
tools:context=".child_app.view.MainActivity">
</RelativeLayout>

<TextView
android:id="@+id/textView"
android:layout_width="match_parent"
android:layout_height="63dp"
android:text="@string/plan_not_chosen_message"
android:textAlignment="center"
android:textSize="30dp"
android:textStyle="bold" />
</ScrollView>
</layout>
2 changes: 2 additions & 0 deletions Friendly-plans/app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,6 @@

<!--Child app-->
<string name="tasks_finished_message">Gratulacje, wszystkie zadania zostały ukończone!</string>
<string name="plan_not_chosen_message">Nie wykryto aktywnego planu. Przejdź do aplikacji Plan Manager i upewnij się, że któryś z planów został wybrany."</string>

</resources>

0 comments on commit 02e13c6

Please sign in to comment.