Sign Up

Sign In

Forget Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask question.

Discy Latest Questions

  • 0

Using API21+ Toolbar: // Toolbar Toolbar toolbar = new Toolbar(this); toolbar.showOverflowMenu(); Would like to remove its shadow completely. setElevation(0) doesn’t do anything since getElevation() already returns 0. There is Material Design reference: https://material.io/guidelines/layout/structure.html#structure-toolbars There is Develop Reference: https://developer.android.com/reference/android/widget/Toolbar.html But I don’t see any info related to the shadow. Toolbar Question: how to remove/hide Toolbar shadow completely?

  • 0

Using the Fonts in XML feature you can specify various font weights for a font family. For example: <?xml version="1.0" encoding="utf-8"?> <font-family xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"><font android:font="@font/archivo_narrow_regular" android:fontWeight="400" android:fontStyle="normal" ...

  • 0

Recently I switched from support library to com.google.android.material:material:1.0.0 But now I have a problem, in this pages there’s a note https://github.com/material-components/material-components-android/blob/master/docs/getting-started.md Note: Using a Material Components theme enables a custom view inflater which replaces default components with their Material counterparts. Currently, this ...

close