Posts by Pedro Igor • 133 points
6 posts
-
4
votes1
answer455
viewsQ: How to set time to silent mode
I have a school schedule app and put the option to mute the device during the time stipulated by the user. However there is only the option to enable and disable silent mode, as I can do this…
-
2
votes3
answers6724
viewsA: How to set the size of layout buttons in version 2.2
Use the android:layout_alignParentLeft="true" for a and android:layout_alignParentRight="true" to another, defining the android:layout_width="wrap_content" for both of us…
-
1
votes1
answer418
viewsQ: Simple settings menu with Checkboxpreference Android
I have a simple settings menu where I have a CheckBoxPreference. I want to set silent mode when the checkbox is checked and normal mode when it is not checked. The sound code I already have, but I’m…
-
2
votes1
answer2235
viewsQ: How to create a widget?
I have in mind the @xml/widget_info the receiver in the Manifesto the layout of the widget and the Provider class is what I doubt. What it needs to have?
-
1
votes1
answer160
viewsQ: Widget layout is not working
I wonder why this layout is not displayed in my widget: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"…
-
3
votes1
answer62
viewsQ: How to display a layout in the Homescreen Widget for each day of the week?
I would like to show certain layout in the Homescreen Widget for each day of the week. I have the 5 days, and when identifying them, the device should update the widget layout. How could I do it?…