HWZ Forums

Login Register FAQ Mark Forums Read

adding autofocus in mirror app APK file

Reply
 
LinkBack Thread Tools
Old 01-04-2017, 08:52 AM   #1
Member
 
Join Date: Jun 2015
Posts: 103
adding autofocus in mirror app APK file

i got an APK for the mirror app i am always using. the problem is the app only focus at infinity. how do i write autofocusing in the app?

res/layout/main.xml

<?xml version="1.0" encoding="utf-8" ?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" androidrientation="vertical" android:id="@id/mirror" android:layout_width="fill_parent" android:layout_height="fill_parent" android:keepScreenOn="true">
<SurfaceView android:id="@id/mirror_view" android:layout_width="fill_parent" android:layout_height="fill_parent" />
</FrameLayout>
vintage_avatar is offline   Reply With Quote
Reply
Important Forum Advisory Note
This forum is moderated by volunteer moderators who will react only to members' feedback on posts. Moderators are not employees or representatives of HWZ. Forum members and moderators are responsible for their own posts.

Please refer to our Terms of Service for more information.


Thread Tools

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

HardwareZone
Rewards