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

Commit b40463c8 authored by Mohit Mali's avatar Mohit Mali
Browse files

Dialer theme change in q

parent e998c0ab
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -143,6 +143,7 @@ public class ViewPagerTabs extends HorizontalScrollView implements ViewPager.OnP
      View layout = LayoutInflater.from(getContext()).inflate(R.layout.unread_count_tab, null);
      View layout = LayoutInflater.from(getContext()).inflate(R.layout.unread_count_tab, null);
      View iconView = layout.findViewById(R.id.icon);
      View iconView = layout.findViewById(R.id.icon);
      iconView.setBackgroundResource(mTabIcons[position]);
      iconView.setBackgroundResource(mTabIcons[position]);
      iconView.setBackgroundTintList(getContext().getResources().getColorStateList(R.color.dialer_theme_color));
      iconView.setContentDescription(tabTitle);
      iconView.setContentDescription(tabTitle);
      TextView textView = (TextView) layout.findViewById(R.id.count);
      TextView textView = (TextView) layout.findViewById(R.id.count);
      if (mUnreadCounts != null && mUnreadCounts[position] > 0) {
      if (mUnreadCounts != null && mUnreadCounts[position] > 0) {
+1 −1
Original line number Original line Diff line number Diff line
@@ -68,7 +68,7 @@
      android:src="@drawable/quantum_ic_call_vd_theme_24"
      android:src="@drawable/quantum_ic_call_vd_theme_24"
      android:tint="?colorIconOnUnthemedDarkBackground"
      android:tint="?colorIconOnUnthemedDarkBackground"
      android:visibility="invisible"
      android:visibility="invisible"
      app:backgroundTint="@color/dialer_dark_theme_color"
      app:backgroundTint="@color/dialer_call_green"
      app:colorControlNormal="?colorIconOnUnthemedDarkBackground"
      app:colorControlNormal="?colorIconOnUnthemedDarkBackground"
      app:elevation="@dimen/floating_action_button_translation_z"/>
      app:elevation="@dimen/floating_action_button_translation_z"/>
</view>
</view>
+2 −1
Original line number Original line Diff line number Diff line
@@ -16,7 +16,8 @@
  -->
  -->
<!-- The colors in this file aren't configured at the theme level. -->
<!-- The colors in this file aren't configured at the theme level. -->
<resources>
<resources>
  <color name="dialer_call_green">#00C853</color>
<!--  <color name="dialer_call_green">#00C853</color>-->
  <color name="dialer_call_green">@lineageos.platform:color/color_default_green1</color>
  <color name="dialer_end_call_button_color">#BD2A2A</color>
  <color name="dialer_end_call_button_color">#BD2A2A</color>
  <color name="dialer_divider_line_color">#D8D8D8</color>
  <color name="dialer_divider_line_color">#D8D8D8</color>
  <color name="dialer_link_color">#2A56C6</color>
  <color name="dialer_link_color">#2A56C6</color>
+1 −1
Original line number Original line Diff line number Diff line
@@ -15,7 +15,7 @@
  -->
  -->
<resources>
<resources>
  <!-- Essential theme colors -->
  <!-- Essential theme colors -->
  <color name="dialer_theme_color">@lineageos.platform:color/color_default_gray2</color>
  <color name="dialer_theme_color">@lineageos.platform:color/color_default_blue1</color>
  <color name="dialer_theme_color_20pct">@lineageos.platform:color/color_default_gray2</color>
  <color name="dialer_theme_color_20pct">@lineageos.platform:color/color_default_gray2</color>
  <color name="dialer_theme_color_dark">@lineageos.platform:color/color_default_gray2</color>
  <color name="dialer_theme_color_dark">@lineageos.platform:color/color_default_gray2</color>
  <color name="dialer_secondary_color">#F50057</color>
  <color name="dialer_secondary_color">#F50057</color>