Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit efe72f4a authored by Hasib Prince's avatar Hasib Prince
Browse files

title changed: commercial app to common apps

title changed commercial apps to common apps in settings page
simplified the way to make title supports multiple lines
parent d2f12144
Loading
Loading
Loading
Loading
Loading
+0 −79
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?><!--
  ~  Copyright (C) 2022  ECORP
  ~
  ~   This program is free software: you can redistribute it and/or modify
  ~   it under the terms of the GNU General Public License as published by
  ~   the Free Software Foundation, either version 3 of the License, or
  ~   (at your option) any later version.
  ~
  ~   This program is distributed in the hope that it will be useful,
  ~   but WITHOUT ANY WARRANTY; without even the implied warranty of
  ~   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  ~   GNU General Public License for more details.
  ~
  ~   You should have received a copy of the GNU General Public License
  ~   along with this program.  If not, see <https://www.gnu.org/licenses/>.
  -->

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight"
android:gravity="center_vertical" android:paddingRight="?android:attr/scrollbarSize">

    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:minHeight="?android:attr/listPreferredItemHeight"
        android:gravity="center_vertical"
        android:paddingRight="?android:attr/scrollbarSize">
        <LinearLayout
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:gravity="center"
            android:minWidth="@dimen/preference_icon_minWidth"
            android:orientation="horizontal">
            <ImageView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:minWidth="48dp"
                />
        </LinearLayout>
        <RelativeLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="22dp"
            android:layout_marginRight="8dip"
            android:layout_marginTop="6dip"
            android:layout_marginBottom="6dip"
            android:layout_weight="1">

            <TextView android:id="@android:id/title"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:singleLine="false"
                android:textColor="@android:color/black"
                android:textAppearance="?android:attr/textAppearanceMediumInverse"
                android:textSize="16sp"
                android:layout_marginTop="12dp"
                android:fadingEdge="horizontal" />

            <TextView android:id="@+id/summary"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_below="@android:id/title"
                android:layout_alignLeft="@android:id/title"
                android:textAppearance="?android:attr/textAppearanceSmall"
                android:textColor="?android:attr/textColorSecondary"
                android:maxLines="4" />
        </RelativeLayout>
        <!-- Preference should place its actual preference widget here. -->
        <LinearLayout android:id="@android:id/widget_frame"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:gravity="center"
            android:orientation="vertical" />

    </LinearLayout>

</LinearLayout>
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@
    <string name="preference_update_notify_available_description">Benachrichtige, wenn App-Aktualisierungen verfügbar sind</string>
    <string name="Show_applications">Zeige Anwendungen:</string>
    <string name="show_only_open_source_apps">Zeige nur quelloffene Apps an</string>
    <string name="Show_commercial_apps">Zeige alle Apps an</string>
    <string name="Show_common_apps">Zeige alle Apps an</string>
    <string name="show_only_pwa_apps">Zeige nur PWAs an</string>
    <string name="account">Konto</string>
    <string name="terms_services">Nutzungsbedingungen</string>
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@
    <string name="preference_update_install_automatically_description">Descargar e instalar actualizaciones de aplicaciones en segundo plano</string>
    <string name="preference_update_notify_available_title">Mostrar aplicaciones disponibles</string>
    <string name="Show_applications">Mostrar aplicaciones:</string>
    <string name="Show_commercial_apps">Mostrar todas las aplicaciones</string>
    <string name="Show_common_apps">Mostrar todas las aplicaciones</string>
    <string name="show_only_open_source_apps">Mostrar solo aplicaciones de código abierto</string>
    <string name="show_only_pwa_apps">Mostrar solo las PWA</string>
    <string name="account">Cuenta</string>
+1 −1
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@
    <string name="account">Tili</string>
    <string name="show_only_pwa_apps">Näytä vain PWAt</string>
    <string name="show_only_open_source_apps">Näytä vain avoimen lähdekoodin sovellukset</string>
    <string name="Show_commercial_apps">Näytä kaikki sovellukset</string>
    <string name="Show_common_apps">Näytä kaikki sovellukset</string>
    <string name="Show_applications">Näytä sovellukset:</string>
    <string name="preference_update_notify_available_description">Näytä ilmoitus kun sovelluspäivityksiä on saatavilla</string>
    <string name="preference_update_notify_available_title">Näytä saatavilla olevat päivitykset</string>
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@
    <string name="preference_update_notify_available_title">Afficher les mises à jour disponibles</string>
    <string name="preference_update_notify_available_description">Afficher une notification lorsque des mises à jour d\'applications sont disponibles</string>
    <string name="Show_applications">Afficher les applications :</string>
    <string name="Show_commercial_apps">Afficher toutes les applications</string>
    <string name="Show_common_apps">Afficher toutes les applications</string>
    <string name="show_only_pwa_apps">Afficher les PWA uniquement</string>
    <string name="account">Compte</string>
    <string name="terms_services">Conditions de Service</string>
Loading