小编Mar*_*lla的帖子

如何在启动时启动/启动应用程序Android

我想在我的平板电脑启动时启动我的应用程序,以便我的应用程序的主要活动是用户在启动平板电脑时看到的第一件事.
我读过有关LauncherActivity但我不明白如何使用它.
任何人都可以帮我提供建议,链接或教程吗?
LauncherActivity是最好的方式还是有替代方案?

android launcher launching-application android-activity

38
推荐指数
3
解决办法
5万
查看次数

旋转图像中的脸部

我有一个问题,当我用我的平板电脑拍照时,我使用opencv来检测脸部并识别脸部.因此,我将尝试旋转面部,以便例如将眼睛和眼睛置于相同的位置,例如具有相同的水平角度.
你能给我一些OpenCv函数或一些有用的链接吗?
提前致谢.
马尔科

opencv image-processing rotation image-rotation

5
推荐指数
1
解决办法
3438
查看次数

具有多行android API级别8的EditText

我有一个问题:
使用这个xml布局:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:orientation="vertical">
    <EditText android:id="@+id/nomenota"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"/>
    <EditText android:id="@+id/corponota"
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content"
    android:layout_weight="1"
    android:inputType="textMultiLine"/>
    <TableLayout   
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="wrap_content">
        <TableRow >
        <Button android:id="@+id/visualizza_notaOK"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="@string/notaOK"/>
        <Button android:id="@+id/nota_annulla"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="@string/nuovanotaannulla"/>
    </TableRow>
</TableLayout>  
Run Code Online (Sandbox Code Playgroud)

我的活动显示如下:
在此输入图像描述

正如你所看到的,我的消息正文集中在一个大的edittext中,我不想要这个结果.
我想要的结果就像这个链接:我想要实现的布局链接

有人帮我吗?
提前致谢.
马可.

android android-layout android-edittext

2
推荐指数
1
解决办法
1141
查看次数