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

Commit b7d39213 authored by Mohit Mali's avatar Mohit Mali Committed by Romain Hunault
Browse files

Polishing Dialer app pie

parent b1a333f1
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -14,8 +14,7 @@
     limitations under the License.
-->
<shape
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:shape="rectangle">
  <corners android:radius="@dimen/tab_unread_count_background_radius"/>
  xmlns:android="http://schemas.android.com/apk/res/android">
  <corners android:radius="@dimen/badge_corner_radius"/>
  <solid android:color="@color/tab_unread_count_background_color"/>
</shape>
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@

  <TextView
    android:id="@+id/count"
    android:layout_width="wrap_content"
    android:layout_width="@dimen/tab_unread_count_background_size"
    android:layout_height="@dimen/tab_unread_count_background_size"
    android:layout_marginTop="@dimen/tab_unread_count_margin_top"
    android:layout_marginStart="@dimen/tab_unread_count_margin_left"
+1 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@
  <color name="tab_accent_color">@color/tab_ripple_color</color>
<!--  <color name="tab_selected_underline_color">#f50057</color>-->
  <color name="tab_selected_underline_color">@color/dialer_theme_color</color>
  <color name="tab_unread_count_background_color">#1C3AA9</color>
  <color name="tab_unread_count_background_color">#1FCB6E</color>

  <!-- Color of the title to the Frequently Contacted section -->
  <color name="frequently_contacted_title_color">@color/contactscommon_actionbar_background_color
+2 −1
Original line number Diff line number Diff line
@@ -59,7 +59,8 @@
  <!-- Size of text in tabs. -->
  <dimen name="tab_text_size">14sp</dimen>
  <dimen name="tab_elevation">0dp</dimen>
  <dimen name="tab_unread_count_background_size">16dp</dimen>
  <dimen name="tab_unread_count_background_size">20dp</dimen>
  <dimen name="badge_corner_radius">10dp</dimen>
  <dimen name="tab_unread_count_background_radius">2dp</dimen>
  <dimen name="tab_unread_count_margin_left">0dp</dimen>
  <dimen name="tab_unread_count_margin_top">2dp</dimen>
+1 −1
Original line number Diff line number Diff line
@@ -105,7 +105,7 @@ public class FloatingActionButtonController {
  public void onPageScrolled(float positionOffset) {
    // As the page is scrolling, if we're on the first tab, update the FAB position so it
    // moves along with it.
    fab.setTranslationX(positionOffset * getTranslationXForAlignment(ALIGN_END));
    fab.setTranslationX(positionOffset * getTranslationXForAlignment(ALIGN_MIDDLE));
  }

  /**