-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RED-402 #time 2h Add the resources (strings, drawables, values) to th…
…e component.
- Loading branch information
Yannick Platon
committed
Jul 6, 2017
1 parent
8bca3b5
commit dd81f3a
Showing
10 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.31 KB
library/src/main/res/drawable-xxxhdpi/ic_web_view_bar_next_default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.93 KB
library/src/main/res/drawable-xxxhdpi/ic_web_view_bar_next_disabled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.22 KB
library/src/main/res/drawable-xxxhdpi/ic_web_view_bar_previous_default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.88 KB
library/src/main/res/drawable-xxxhdpi/ic_web_view_bar_previous_disabled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<RelativeLayout | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
> | ||
<WebView | ||
android:id="@+id/webview" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:layout_marginTop="@dimen/abc_action_bar_default_height_material" | ||
/> | ||
<LinearLayout | ||
android:id="@+id/loading" | ||
android:orientation="horizontal" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:background="@color/android:white" | ||
android:gravity="center" | ||
android:padding="@dimen/paddingXLarge" | ||
android:visibility="invisible" | ||
> | ||
<ProgressBar | ||
android:id="@+id/progressBar" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginRight="@dimen/paddingSmall" | ||
/> | ||
<TextView | ||
android:id="@+id/text" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/loading" | ||
android:textSize="15.5dip" | ||
/> | ||
</LinearLayout> | ||
</RelativeLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<dimen name="paddingSmall">3dip</dimen> | ||
<dimen name="paddingXLarge">15dip</dimen> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<item name="webview" type="id"/> | ||
<item name="loading" type="id"/> | ||
<item name="webViewActionBar" type="id"/> | ||
<item name="title" type="id"/> | ||
<item name="previousButton" type="id"/> | ||
<item name="nextButton" type="id"/> | ||
<item name="refreshButton" type="id"/> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<!-- WebView --> | ||
<string name="WebView_back">Retour</string> | ||
<string name="WebView_forward">Avancer</string> | ||
<string name="WebView_refresh">Rafraîchir</string> | ||
<string name="WebView_openBrowser">Navigateur</string> | ||
|
||
<string name="loading">Chargement\u2026</string> | ||
</resources> |