Questions tagged as 'android-layout'

1
answer

How do I change the color of the status bar icons in Material Design

I need to change the colors of the icons the same as app in Google Calendar, as shown in the image below: I saw that in Material Design you have the options colorPrimaryDark but you do not have to change the color of the icons...
asked by 07.03.2017 / 16:29
1
answer

How do I change the color of the bottom bar, where the "Back", "Home" and "Active" buttons are located?

I'd like to know first the name of the component (bar) where the "Back", "Home" and "Active" buttons on the android are located. On devices that do not have physical buttons for this function, the components come on the screen and stay on top of...
asked by 10.10.2016 / 20:21
1
answer

How can I put a similar effect to CSS box-shadow on a layout in Android?

Eg: <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:layout_marginTop="10dp" android:background="@drawable/bg_white" android:........ ? &g...
asked by 05.02.2015 / 03:15
2
answers

How to make view pager of images as free market app and others

I would like to ask your help on how to make this layout that neither the Free Market app and others out there like Viva Real Estate. The layout I need is the same as this image I'm putting below, It would be a toolbar the same way and just belo...
asked by 17.10.2015 / 23:05
2
answers

How to put line break in direct xml textview?

I wanted to put this text more organized without having to create several textview, and I had the idea of using line break.     
asked by 21.03.2017 / 17:44
1
answer

How to remove the title of a Custom Dialog?

I have this Custom Dialog AndI'dliketoknowhowtogetthatpartofthetitlebecauseinthiscase,it'sunnecessary.Codeprivatevoidacertou(){finalDialogcerto=newDialog(this);certo.setContentView(R.layout.resultado_positivo);ButtonokPositivo=(Button)certo.fin...
asked by 18.09.2016 / 20:38
1
answer

How to change icon color in drawable layout on android

Hello, I need to change the icon color that triggers the DrawableLayout menu, but I am not finding the property or where I can customize this icon. How do I change the color of this icon? Where do I put his color? Which element? What file nam...
asked by 30.08.2018 / 19:51
1
answer

How to run javascript in Android webview

I have Activity with the following layout: <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" andro...
asked by 20.03.2014 / 16:17
1
answer

Update activity after swipe of the finger on the screen

How do I update APP activity after the user swipes the screen down. How do I detect this action so I can trigger an event in my code?     
asked by 26.04.2015 / 01:41
1
answer

What is the difference between a toolbar and another view?

I'm learning how to use toolbar in Android development and I've seen that using it is very similar to other views , I saw that you can put it without being at the top, that you can put items inside it. example), type a layout, then...
asked by 20.10.2017 / 06:28