Skip to content
Snippets Groups Projects
Commit 9754ae6d authored by Adrien Béraud's avatar Adrien Béraud
Browse files

ui: update "About" page

Refs #75022

Change-Id: I2d41127d99aa2c761a21016cf3fd86c7e48751c1
parent cd3268f4
No related branches found
No related tags found
No related merge requests found
......@@ -27,13 +27,13 @@ public class AboutFragment extends Fragment {
TextView title = (TextView) inflatedView.findViewById(R.id.app_name);
try {
String versionName = getActivity().getPackageManager().getPackageInfo(getActivity().getPackageName(), 0).versionName;
title.setText(getString(R.string.app_name) + " - " + versionName);
title.setText(getString(R.string.app_name) + " for Android " + versionName);
} catch (PackageManager.NameNotFoundException e) {
e.printStackTrace();
}
TextView link = (TextView) inflatedView.findViewById(R.id.web_site);
String linkText = "<a href='http://ring.cx'>" + getResources().getString(R.string.web_site) + "</a>";
String linkText = "<a href='"+getString(R.string.app_website)+"'>" + getString(R.string.web_site) + "</a>";
link.setText(Html.fromHtml(linkText));
link.setMovementMethod(LinkMovementMethod.getInstance());
......
ring-android/app/src/main/res/drawable-hdpi/ring_logo.png

28.7 KiB

ring-android/app/src/main/res/drawable-mdpi/ring_logo.png

18.3 KiB

ring-android/app/src/main/res/drawable-xhdpi/ring_logo.png

39.1 KiB

ring-android/app/src/main/res/drawable-xxhdpi/ring_logo.png

61 KiB

ring-android/app/src/main/res/drawable-xxxhdpi/ring_logo.png

84.9 KiB

......@@ -2,23 +2,25 @@
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="@dimen/padding_medium" >
android:padding="@dimen/padding_medium">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
android:orientation="vertical">
<ImageView
android:id="@+id/logo"
android:layout_width="match_parent"
android:id="@+id/imageView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/logo_sfl_coul_rgb" />
android:layout_gravity="center_horizontal"
android:contentDescription="@string/app_name"
android:src="@drawable/ring_logo" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/item_generic_selector" >
android:background="@drawable/item_generic_selector">
<TextView
android:id="@+id/app_name"
......@@ -48,6 +50,16 @@
android:text="@string/copyright"
android:textAppearance="?android:attr/textAppearanceSmall" />
</RelativeLayout>
<ImageView
android:id="@+id/logo"
android:layout_width="260dp"
android:layout_height="134dp"
android:layout_gravity="center_horizontal"
android:contentDescription="@string/app_author"
android:maxWidth="250dp"
android:src="@drawable/logo_sfl_coul_rgb" />
</LinearLayout>
</ScrollView>
\ No newline at end of file
......@@ -108,7 +108,7 @@ as that of the covered work.
<string name="action_call_conference">Conférence</string>
<string name="action_call_hold">Attente</string>
<string name="action_settings">Paramètres</string>
<string name="copyright">Copyright \u00A9 2004&#8211;2014 Savoir-Faire Linux Inc.</string>
<string name="copyright">Copyright \u00A9 2004&#8211;2015 Savoir-Faire Linux Inc.</string>
<string name="web_site">Site web</string>
<string name="help_gestures"> This view will help users with different interactions during calls. Different actions will be described; Long press, fling, swype etc.</string>
......
......@@ -32,6 +32,8 @@ as that of the covered work.
<resources>
<string name="app_name">Ring</string>
<string name="app_author">Savoir-faire Linux Inc.</string>
<string name="app_website">http://ring.cx</string>
<!-- RingActivity -->
<string name="close_msg">Press back again to leave</string>
......@@ -109,7 +111,7 @@ as that of the covered work.
<string name="action_call_hold">Hold</string>
<string name="action_call_hangup">Hang up</string>
<string name="action_settings">Settings</string>
<string name="copyright">Copyright \u00A9 2004&#8211;2014 Savoir-Faire Linux Inc.</string>
<string name="copyright">Copyright \u00A9 2004&#8211;2015 Savoir-Faire Linux Inc.</string>
<string name="web_site">Website</string>
<string name="help_gestures"> This view will help users with different interactions during calls. Different actions will be described; Long press, fling, swype etc.</string>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment