Android Wear Horizontal ListView -


i'm trying realize layout in android wear: timer custom app. think listview horizontal orientation, wearablelistview doesn't have attribute.

try using gridviewpager , setting negative page margins :

pager = (gridviewpager) stub.findviewbyid(r.id.fragment_container); pager.setpagemargins(0, -30); 

you can implement onclick listeners on fragments change current page clicking @ right or left of page native alarm app.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -