android - Tunning up Activity with dialog theme -


"postprint" itemprop = "text">

I need to start a dialogue from the home screen widget, then I created an activity with android subject = "@ android: style / Theme.Dialog"

the problem is, I want to make it look like a standard dialog window that (gray background, font and text Button, paddings etc on the shape, as it is here:

<"> This way my" dialog "activity looks like this:

< Img src = "https://imgur.co m / O7H1j Png "alt =" alt text ">

Is there a standard way (the theme?) it is to show the standard system communicate? Or do I have a copy in your own layout? < You can get the same look for the buttons below for weight specialties and backgrounds behind them. the use of structures. I hope that this helps

  & lt; LinearLayout Android: layout_width = "fill_parent" Android: layout_height = "wrap_content" android: Page This user's background = "@ android: drawable / bottom_bar" android: orientation = "horizontal" & gt; Android: Android: Android: Leaut_vet = "1" Android: Leaut_hait = "wrap" material Android: Android: Android: Android: Android: Android: Android: Android: layout_margin = "5dip" / & gt; & Lt; Button android: text = "right" Android: TextSize = "L2dip" android: id = "@ + id / okButton" Android: layout_width = "0dip" Android: layout_weight = "1" Android: Layout_height = "Wrap_content" Android: Layout_margin = "5dip" /> & Lt; / LinearLayout & gt;  

Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -