android - how to get the realy activity name but not Subsetting in Setting -
when check log hierarchyviewer setting menu. found display subsetting whatever click button. (for example, when click wi-fi, display subsetting, when click bt, display subsetting, too). check info intenet, because fragment.... want know how realy setting name(like before android 3.0).
the short answer settings sub-screens not implemented using separate activities, there no way 'real' activity looking for. settings screens, activity subsettings activity hosts various fragments.
more details: in earlier versions of android, settings sub-screens each implemented own activities. beginning around gingerbread, android re-architected settings app (and preferenceactivity) use fragments instead of actual activities settings sub-screens. allows them support split-pane settings user interface (with settings headers on left, , settings details on right). example in froyo, wifi settings implemented activity called wifisettings, later implementations use subclass of fragment (also called wifisettings).
Comments
Post a Comment